package cn.com.cifi.mars.mapper.mars;

import cn.com.cifi.mars.entity.ApprovalVersionCompare;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ApprovalVersionCompareMapper extends BaseMapper<ApprovalVersionCompare> {
    void insertCompareList(@Param("list") List<ApprovalVersionCompare> list);

    List<ApprovalVersionCompare> selectVersionIdByKey(@Param("key") String key, @Param("type") String CollectType,@Param("versionType")String versionType);

    List<ApprovalVersionCompare> selectCompareInfo(@Param("key") String key, @Param("type") String CollectType);
    
    List<ApprovalVersionCompare> selectByKey(@Param("key") String key);
}
